Skip to main content

mobileCurrentHeading

Type

function

Summary

Returns the current heading of the device.

Syntax

mobileCurrentHeading()

Description

Use the mobileCurrentHeading function to find the current heading of the device.

Examples

get mobileCurrentHeading()
put mobileCurrentHeading() into theHeading

command: mobileStopTrackingSensor, mobileStartTrackingSensor

function: mobileSensorReading, mobileCanTrackHeading

message: trackingError, headingChanged

Compatibility and Support

Introduced

LiveCode 4.6.1

OS

ios

android

Platforms

mobile

Thank you for your feedback!

Was this page helpful?